//
//  AppDelegate.swift
//  我的微博
//
//  Created by 吴加将 on 15/9/6.
//  Copyright © 2015年 吴加将. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        setUpAppearance()
      window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window!.backgroundColor=UIColor.whiteColor()
       // window!.rootViewController = MainViewController()
        window!.rootViewController=WecomeViewController()
        window!.makeKeyAndVisible()
        
      
        
        
        
        
        
        return true
    }
    //设置全局外观
    func setUpAppearance() {
        UINavigationBar.appearance().tintColor=UIColor.orangeColor()
        UITabBar.appearance().tintColor=UIColor.orangeColor()
        
        
        
        
    }
   }

